/*
 * @Descripttion: unTitle
 * @Author: yizheng.yuan
 * @Date: 2021-11-16 15:53:32
 * @LastEditors: yizheng.yuan
 * @LastEditTime: 2021-11-16 16:17:55
 */

export default {
  data() {
    return{
      
    }
  },
  created() {
  },
  mounted() {},
  methods:{
    answerFun(str){
      return new Promise((resolve,reject)=>{
        this.$confirm(str, '提示', {
          confirmButtonText: '确定',
          cancelButtonText: '取消',
          type: 'warning'
        }).then(() => {
          resolve(true)
        }).catch(() => {
          resolve(false)     
        });
      })
    }
  }
};